home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / XAMPP 1.4.14 / xampp-win32-1.4.14-installer.exe / xampp / php / pear / docs / xdebug / .tmpREADME < prev   
Text File  |  2004-03-24  |  2KB  |  55 lines

  1. XDEBUG
  2. ------
  3.  
  4. This extension is not totally finished yet, but it works fine for me. If
  5. you have questions, feel free to send me an e-mail at derick@php.net. If
  6. you like this piece of software, feel free to checkout my wishlist @
  7. http://www.derickrethans.nl/link.php?url=giftlist . Sending me items
  8. from my wishlist improves my motivation to keep working on xdebug, and
  9. helps me keeping xdebug free.
  10.  
  11. INSTALLATION
  12. ------------
  13.  
  14. You compile xdebug separately from the rest of PHP.  Note, however, that
  15. you need access to the scripts "phpize" and "php-config".  If your
  16. system does not have "phpize" and "php-config", you will need to compile
  17. and install PHP from a source tarball first, as these script are
  18. by-products of the PHP compilation and installation processes. It is
  19. important that the source version matches the installed version as there
  20. are slight, but important, differences between PHP versions. 
  21.  
  22. Once you have access to "phpize" and "php-config", do the following:
  23.  
  24. 1. Unpack the tarball: tar -xzf xdebug-1.x.x.tgz.  Note that you do
  25. not need to unpack the tarball inside the PHP source code tree.
  26. Xdebug is compiled separately, all by itself, as stated above.
  27.  
  28. 2. cd xdebug-1.x.x
  29.  
  30. 3. Run phpize: phpize
  31.    (or /path/to/phpize if phpize is not in your path).
  32.  
  33. 4. ./configure --enable-xdebug (or: ../configure --enable-xdebug
  34.    --with-php-config=/path/to/php-config if php-config is not in your
  35.    path)
  36.  
  37. 5. Compile the module with "make"
  38.  
  39. 6. cp modules/xdebug.so /to/wherever/you/want/it
  40.  
  41. 7. add the following line to php.ini:
  42.    zend_extension="/wherever/you/put/it/xdebug.so"
  43.  
  44. 8. Restart your webserver.
  45.  
  46. 9. Write a PHP page that calls "phpinfo();" Load it in a browser and
  47.    look for the info on the xdebug module.  If you see it, you have been
  48.    successful!
  49.  
  50.  
  51.  
  52. Derick Rethans
  53. derick@xdebug.org
  54.  
  55.